package p3;

import java.rmi.Naming;

public class ServidorDirectorio {
	public static void main(String args[]) {
		try	{
			DirectorioInterface dir = new Directorio(); //TODO crear el Directori
			Naming.rebind("rmi://localhost/servidor_directorio", dir );
			System.out.println( "Servidor de Directorio ..." );
		}
		catch ( Exception e ) { System.out.println(e); }
	}
}